#ifndef MODTIMELINE_H_
#define MODTIMELINE_H_

#include "scHeader.h"
#include <ModTable.h>

namespace sybilpm
{

class ModTimeline : public ModTable
{
	Q_OBJECT
public:
	ModTimeline(PkType entityId, PkType ik, QObject * parent);
	virtual ~ModTimeline();
	// virtual int rowCount(const QModelIndex & parent = QModelIndex()) const; - base class implementation is OK
	// virtual int columnCount(const QModelIndex & parent = QModelIndex()) const; - base class implementation is OK
	virtual QVariant data(const QModelIndex & index, int role = Qt::DisplayRole) const;
	// virtual QString data(int col, PkType pk, bool sortable = false, bool touchOnly = false) const;
	// virtual QVariant headerData... - base class implementation is OK
	// virtual PkType mapRow2Pk(int row) const; - base class implementation is OK
	// virtual PkType mapRow2Ik(int row) const; - base class implementation is OK
	virtual void setTouched();
public slots:
	virtual void mapRowsSl(unsigned long transactionId);
protected:
	PkType ik;
	int currentRow;
};

} // namespace sybilpm
#endif /* MODTIMELINE_H_ */
